/*轮播图*/
$(function(){
  var swiper1 = new Swiper('.swiper-container-1', {
    pagination: '.swiper-pagination',
    paginationClickable: '.swiper-pagination',
    nextButton: '.swiper-next-button',
    prevButton: '.swiper-prev-button',
    slidesPerView: 4,
    spaceBetween: 10
  });
  var swiper2 = new Swiper('.swiper-container-2', {
    pagination: '.swiper-pagination',
    paginationClickable: '.swiper-pagination',
    nextButton: '.swiper-next-button',
    prevButton: '.swiper-prev-button',
    slidesPerView: 2,
    spaceBetween: 10
  });
  var swiper3 = new Swiper('.swiper-container-3', {
    pagination: '.swiper-pagination',
    paginationClickable: '.swiper-pagination',
    nextButton: '.swiper-next-button',
    prevButton: '.swiper-prev-button',
    slidesPerView: 1,
    spaceBetween: 10
  });
});
/*鼠标滑动事件*/
/*$('.swiper-div').hover(function(){
  $(this).find(".swiper-describe").slideToggle();
});*/
/*$(".swiper-div").mouseover(function() {
  $(this).find(".swiper-describe").slideDown("slow");
});
$(".swiper-div").mouseleave(function() {
  $(this).find(".swiper-describe").slideUp("slow");
});*/
$(".swiper-div").mouseover(function() {
  $(this).find(".swiper-describe").fadeIn(50);
});
$(".swiper-div").mouseleave(function() {
  $(this).find(".swiper-describe").fadeOut(50);
});


$('.swiper-next-button').hover(function(){
	$(this).addClass('add-class-next');
},function(){
	$(this).removeClass('add-class-next');
});
$('.swiper-prev-button').hover(function(){
	$(this).addClass('add-class-prev');
},function(){
	$(this).removeClass('add-class-prev');
});


